package com.javafactroy.kunlong.data.entity;

import com.javafactroy.kunlong.client.feign.dto.PageInfoDto;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author leijmdas
 * @date 2023-10-23 23:18:48
 */
@Data
@Table(name = "tasklog")
@ApiModel("${tableComment}")
public class ApiEntity extends PageInfoDto {

    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "Mysql")
    Integer id;

    @Column(name = "user")
    String user;

    @Column(name = "ip")
    String ip;

    @Column(name = "oprt_type")
    Integer oprtType;

    @Column(name = "oprt")
    String oprt;

    @Column(name = "params")
    String params;

    @Column(name = "code")
    Integer code;

    @Column(name = "oprt_time")
    Date oprtTime;


}